﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH5_2103A.Shopping.TEntityFrame.Domain
{
    /// <summary>
    /// 会员地址表
    /// </summary>
    [Table("tb_member_address")]
    public class MemberAddressEntity
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 会员ID 
        /// </summary>
        public Guid MemberId { get; set; }  //和会员表关联

        /// <summary>
        /// 收件人姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 收件人地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 收件人电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 是否默认地址（默认不是）
        /// </summary>
        public bool IsDefault { get; set; } = false;
    }
}
